<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--<table border=1px>
    <thead><tr>
        <td>序号</td>
        <td>姓名</td>
        <td>密码</td>
    </tr>
    </thead>
    <tbody >
    <tr th:each="student:${studentList}">
        <td th:text="${student.id}">id</td>
        <td th:text="${student.name}">name</td>
        <td th:text="${student.passwd}">passwd</td>
    </tr>
    </tbody>
</table>-->

<div th:if="${#strings.contains(myString,'substr')}">
    myString contains 'substr'
</div>

<span th:text="${#strings.replace(myString,'old','new')}"></span>

</body>
</html>
